package cn.icanci.loopstack.bic.dal.mongo.daointerface;

import cn.icanci.loopstack.bic.dal.mongo.dateobject.SystemDO;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/10 15:25
 */
public interface SystemDAO extends BaseDAO<SystemDO> {
    /** 文档对应的名字  */
    String          COLLECTION_NAME  = BASE_COLLECTION_NAME + "system";
    /** 文档对应的Class */
    Class<SystemDO> COLLECTION_CLASS = SystemDO.class;

    SystemDO queryByName(String name);

    SystemDO queryByKey(String key);

    SystemDO queryByUuid(String systemUuid);

    /** 列 */
    interface SystemColumn extends BaseColumn {
        String SYSTEM_NAME = "systemName";
        String SYSTEM_KEY  = "systemKey";
    }
}
